package com.book.service.impl;

import com.book.pojo.Fans;
import com.book.mapper.FansDao;
import com.book.service.FansService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author cxy
 * @since 2023-10-12 16:01:37
 */
@Service
public class FansServiceImpl extends ServiceImpl<FansDao, Fans> implements FansService {
    @Autowired
    private FansDao fansDao;

    @Override
    public Integer aunthorFans(Long authorId) {
        return fansDao.aunthorFans(authorId);

    }
}
